<template>
  <div class="news-section entertainment">
    <h2>娱乐新闻</h2>
    
    <div class="news-list">
      <div class="news-item">
        <div class="news-image">
          <img src="https://picsum.photos/seed/ent1/300/200" alt="电影节新闻配图">
        </div>
        <div class="news-content">
          <h3>第36届金鸡奖颁奖典礼圆满落幕</h3>
          <p>备受瞩目的第36届金鸡奖颁奖典礼在厦门举行，众多电影人齐聚一堂。影片《山河故人》斩获最佳影片奖，男主角张明获得最佳男主角奖，女主角李娜摘得最佳女主角桂冠...</p>
          <div class="news-meta">
            <span>2024-05-18</span>
            <span>来源：娱乐周报</span>
          </div>
        </div>
      </div>
      
      <div class="news-item">
        <div class="news-image">
          <img src="https://picsum.photos/seed/ent2/300/200" alt="演唱会新闻配图">
        </div>
        <div class="news-content">
          <h3>国际巨星宣布将开启中国巡演</h3>
          <p>国际知名歌手迈克尔·琼斯通过社交媒体宣布，将于今年9月启动中国巡演，计划到访北京、上海、广州等10个城市，这是他时隔五年再次来华演出...</p>
          <div class="news-meta">
            <span>2024-05-17</span>
            <span>来源：音乐前线</span>
          </div>
        </div>
      </div>
      
      <div class="news-item">
        <h3>热门电视剧《人间正道》收视率创新高</h3>
        <p>由知名导演执导的年代剧《人间正道》自开播以来口碑与收视双丰收，最新一集收视率突破3.5%，成为本年度最受欢迎的电视剧之一...</p>
        <div class="news-meta">
          <span>2024-05-16</span>
          <span>来源：影视风向标</span>
        </div>
      </div>
    </div>
  </div>
</template>

<script setup lang="ts">
</script>

<style scoped>
.news-section {
  background-color: #fff;
  border-radius: 6px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.news-section h2 {
  color: #fff;
  background-color: #e74c3c;
  padding: 10px 15px;
  margin: 0 0 20px 0;
  display: inline-block;
  border-radius: 4px;
  font-size: 20px;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.news-item {
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.news-item:last-child {
  border-bottom: none;
}

.news-image {
  width: 300px;
  height: 200px;
  flex-shrink: 0;
  border-radius: 4px;
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.news-image img:hover {
  transform: scale(1.05);
}

.news-content h3 {
  margin: 0 0 10px 0;
  font-size: 18px;
  color: #333;
  transition: color 0.2s;
}

.news-content h3:hover {
  color: #e74c3c;
}

.news-content p {
  margin: 0 0 10px 0;
  color: #666;
  line-height: 1.6;
  font-size: 14px;
}

.news-meta {
  display: flex;
  gap: 15px;
  font-size: 12px;
  color: #999;
}

@media (max-width: 768px) {
  .news-item {
    flex-direction: column;
  }
  
  .news-image {
    width: 100%;
    height: auto;
  }
}
</style>
    